﻿<%@ Page Language="C#" Theme="" AutoEventWireup="true" CodeFile="ViewPage.aspx.cs"
    Inherits="ViewPage" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script type="text/javascript" language="javascript">
        //        function resize() {
        //            h = screen.height;

        //            window.parent.document.getElementById('Iframemain').height = h;
        //        }
        function resize() {
            var myWidth = 0, myHeight = 0;
            if (typeof (window.innerWidth) == 'number') {
                //Non-IE
                myWidth = window.innerWidth;
                myHeight = window.innerHeight;
            } else if (document.documentElement &&
      (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
                //IE 6+ in 'standards compliant mode'
                myWidth = document.documentElement.clientWidth;
                myHeight = document.documentElement.clientHeight;
            } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
                //IE 4 compatible
                myWidth = document.body.clientWidth;
                myHeight = document.body.clientHeight;
            }
            window.parent.document.getElementById('Iframemain').height = myHeight - 62;
            window.parent.document.getElementById('Iframemain').width = myWidth;
        }
    </script>

    <style type="text/css">
        li
        {
            list-style-type: none;
        }
        html, body
        {
            overflow: hidden;
        }
        body
        {
            margin: 0;
            margin-left: auto;
            margin-right: auto;
            color: #666;
            position: relative;
            font-size: 85%;
        }
        a.remove_link
        {
            width: 18px;
            display: block;
            float: right;
            height: 18px;
            line-height: 1px;
            margin: -2px 0px 0px 10px;
            text-decoration: none;
        }
        a, a:visited, a:active
        {
            color: #353535;
            font-weight: bold;
            text-decoration: none;
        }
        *
        {
            margin: 0;
            padding: 0;
        }
        #ContentWithRelatedPostsPanel
        {
            border-color: Gray;
            border-width: thin;
            border-style: solid;
            background: #FDFDFD url(App_Themes\Best\gradient_bg.gif) repeat-x;
        }
    </style>
</head>
<body>

    <script type="text/javascript">
        window.google_analytics_uacct = "UA-3361470-14";
    </script>

    <form runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div style="min-height: 61px; border-color: Gray; border-style: solid; border-width: thin;">
        <div style="float: left">

            <script type="text/javascript"><!--
                google_ad_client = "pub-4243871589017290";
                /* 234x60, created 1/23/09 */
                google_ad_slot = "2239480381";
                google_ad_width = 234;
                google_ad_height = 60;
//-->
            </script>

            <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>

        </div>
        <asp:HyperLink ToolTip="Назад" NavigateUrl="~/" ID="BackLink" Text="Назад" runat="server"></asp:HyperLink>
        Вие гледате:
        <asp:HyperLink ID="LinkWithTitle" runat="server" rel="nofollow"></asp:HyperLink>
        -
        <asp:HyperLink ID="YouAreViewingLink" runat="server" rel="nofollow"></asp:HyperLink>
        <asp:HyperLink rel="nofollow" ToolTip="Remove frame" Height="18px" ImageUrl="~/images/UIFramedPage_Remove_X.gif"
            ID="RemoveFrameLink" CssClass="remove_link" NavigateUrl="~/" runat="server"></asp:HyperLink>
        <br />
        <asp:HyperLink Text="Начало" ID="HomeLink" runat="server" NavigateUrl="~/"></asp:HyperLink>
    </div>
    <iframe runat="server" id="Iframemain" height="2000px" width="100%" scrolling="auto"
        frameborder="0"></iframe>
    

    </form>

    <script type="text/javascript">
        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>

    <script type="text/javascript">
        try {
            var pageTracker = _gat._getTracker("UA-3361470-14");
            pageTracker._trackPageview();
        } catch (err) { }</script>

</body>
</html>
